import request from '@/utils/request'

//查询tb_mm_h表
export function lisTb_mm_h(query) {
  return request({
    url: '/system/Fdongbei/tb-mm-h/selectBySap',
    method: 'get',
    params: query
  })
}


//查询tb_mm_i表
export function lisTb_mm_i(query) {
  return request({
    url: '/system/Fdongbei/tb-mm-i/selectBySap',
    method: 'get',
    params: query
  })
}

//查询车辆在guozhong menjin 是否有记录
export function tbGuozhongExists(query) {
  return request({
    url: '/system/Fdongbei/tbguozhong/tbGuozhongExists',
    method: 'get',
    params: query
  })
}

//过重  数据保存 订单
export function tbGuozhonginsert(data) {
  return request({
    url: '/system/Fdongbei/tbguozhong/tbGuozhonginsert',
    method: 'post',
    data: data
  })
}

//过重  数据保存  sd
export function tbGuozhonginsertsd(data) {
  return request({
    url: '/system/Fdongbei/tbguozhong/tbGuozhonginsertsd',
    method: 'post',
    data: data
  })
}

//过重数据保存 散户
export function tbGuozhonginsertsh(data) {
  return request({
    url: '/system/Fdongbei/tbguozhong/tbGuozhonginsertsh',
    method: 'post',
    data: data
  })
}
//过重数据保存 自主
export function tbGuozhonginsertzz(data) {
  return request({
    url: '/system/Fdongbei/tbguozhong/tbGuozhonginsertzz',
    method: 'post',
    data: data
  })
}


//查询tb_chengyunshang表
export function lisTb_chengys(query) {
  return request({
    url: '/system/Fdongbei/tbchengyunshang/selectChengYS',
    method: 'get',
    params: query
  })
}

//查询selectListhetonghuayan表
export function lisTb_hetonghuayan(query) {
  return request({
    url: '/system/Fdongbei/tbhetonghuayan/selectListhetonghuayan',
    method: 'get',
    params: query
  })
}


//查询tb_cg_h表
export function selectCgh(query) {
  return request({
    url: '/system/Fdongbei/tb-cg-h/selectCgh',
    method: 'get',
    params: query
  })
}


//查询tb_cg_i表
export function selectCgi(query) {
  return request({
    url: '/system/Fdongbei/tb-cg-i/selectCgi',
    method: 'get',
    params: query
  })
}



//查询tb_sd_h表
export function selectSdh(query) {
  return request({
    url: '/system/Fdongbei/tb-sd-h/selectSdh',
    method: 'get',
    params: query
  })
}


//查询tb_sd_i表
export function selectSdI(query) {
  return request({
    url: '/system/Fdongbei/tb-sd-i/selectSdI',
    method: 'get',
    params: query
  })
}



//查询tb_wlccfw表
export function countWlccfw(query) {
  return request({
    url: '/system/Fdongbei/tb-wlccfw/countWlccfw',
    method: 'get',
    params: query
  })
}


//查询tb_wlccfw表
export function selectWlccfwdm(data) {
  return request({
    url: '/system/Fdongbei/tb-wlccfw/selectWlccfwdm',
    method: 'post',
    data: data
  })
}



//查询selectzczm表
export function selectzczm(query) {
  return request({
    url: '/system/Fdongbei/tb-zczm/selectzczm',
    method: 'get',
    params: query
  })
}



//查询selectymjg表
export function selectymjg(query) {
  return request({
    url: '/system/Fdongbei/tb-ymjg/selectymjg',
    method: 'get',
    params: query
  })
}



//查询selectshdz表
export function selectshdz(query) {
  return request({
    url: '/system/Fdongbei/tb-shdz/selectshdz',
    method: 'get',
    params: query
  })
}




//查询selecttbck表
export function selecttbck(query) {
  return request({
    url: '/system/Fdongbei/tb-ck/selecttbck',
    method: 'get',
    params: query
  })
}

//判断订单是否使用
export function countguozhong(query) {
  return request({
    url: '/system/Fdongbei/tbguozhong/countguozhong',
    method: 'get',
    params: query
  })
}



//查询selectZmmWb01HbyMBLNR
export function selectZmmWb01HbyMBLNR(query) {
  return request({
    url: '/system/Fdongbei/zmm-wb01-h/selectZmmWb01HbyMBLNR',
    method: 'get',
    params: query
  })
}
//查询 selectZmmWb01IbyMBLNR

export function selectZmmWb01IbyMBLNR(query) {
  return request({
    url: '/system/Fdongbei/zmm-wb01-i/selectZmmWb01IbyMBLNR',
    method: 'get',
    params: query
  })
}

//查询 counthmd

export function counthmd(query) {
  return request({
    url: '/system/Fdongbei/tb-hmd/counthmd',
    method: 'get',
    params: query
  })
}
//添加 tb_kdp insertbkdp
export function insertbkdp(query) {
  return request({
    url: '/system/Fdongbei/tb-kdp/insertbkdp',
    method: 'get',
    params: query
  })
}
